package com.example.baiguangsystem.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.InputStream;
import java.util.List;

/**
 * 书本类
 *
 * @Author: 27641
 * @ProjectName: BaiGuangSystem
 * @Date: 2022/01/29/16:31
 * @noinspection SpellCheckingInspection
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class Book {
    private Integer bookId;
    private String bookName;
    private Double bookPrice;
    /*书本作者*/
    private Author author;
    /*书本简介*/
    private String bookOverview;
    /*书本封面存储路径（换成路径，因为使用数据库来存储图片的话太大了）*/
    private String bookImgPath;
    /*章节*/
    private List<Section> sectionList;

}
